#include "../EngineSource/EngineDef.h"
#include "Game.h"



Game::Game(IEngine *engine):pEngine(engine)
{
	pEngine->AddedToRenderFuncList((RenderFuncType)&Game::RenderScene1);



}

Game::~Game()
{
}


void Game::Update()
{
	if(Input()->IsKeyPressed((KeyCodeType)27))
	{
		Engine()->Shutdown();
	}
}